package com.icinfo.cloud.provider.punish.ucase.casemain.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 描述: 分配法制人员-分配操作Dto
 * @author zhanghongqiang
 * @Date 2022/11/14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EditDistributionDto {

    /**
     * 数据主键ID
     **/
    @NotEmpty(message = "分配的法制人员数据唯一Id不能为空")
    private List<String> id;

    /**
     * 被分配人的userID
     **/
    @NotBlank(message = "分配的法制人员userId不能为空")
    private String userId;

    /**
     * 案件唯一caseId
     **/
    @NotEmpty(message = "分配的案件caseId不能为空")
    private List<String> caseId;
}
